package com.szrt.mybatis.department.dao;

import com.szrt.mybatis.department.entity.DepartmentEntity;
import com.szrt.mybatis.manager.ManagerEntity;
import com.szrt.mybatis.manager.ManagerEntity2;


/**
 * 接口绑定
 * @author Administrator
 *
 */
public interface DepartmentDao {
	
	
	/**
	 * 根据id查询1个对象
	 * @param id
	 * @return
	 */
	DepartmentEntity  findById(Integer id);
	
	
	/**
	 * 根据部门名称查找对应的经理名称
	 * @param name
	 * @return
	 */
	ManagerEntity  findByDepartmentName(String  name);
	
	
	ManagerEntity2 findDepartmentNameByManagerName(String managerName);
	
	
	
	

}
